package com.lvmama.pangolin.hotel.service.impl;

import com.lvmama.pangolin.mybatis.mapper.hotel.HotelPdetailMapper;
import com.lvmama.pangolin.entity.hotel.HotelPdetail;
import com.lvmama.pangolin.hotel.service.HotelPdetailService;
import com.lvmama.pangolin.core.AbstractService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;
import java.util.Map;


/**
 * Created by zhoutianqi on 2017/08/15.
 */
@Service
@Transactional
public class HotelPdetailServiceImpl extends AbstractService<HotelPdetail> implements HotelPdetailService {
    @Autowired
    private HotelPdetailMapper hotelPdetailMapper;

	@Override
	public int deleteBytaskAndProd(HotelPdetail item)
	{
		return hotelPdetailMapper.deleteBytaskAndProd(item);
	}

	@Override
	public List<HotelPdetail> queryCommodityListByTaskID(Map<String, Object> map) {
		return hotelPdetailMapper.queryCommodityListByTaskID(map);
	}


}
